using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Security;

namespace Axe.Web.Security.Membership
{
    public abstract class UniversalMembershipProvider : MembershipProvider
    {
        public abstract bool HasUser(string username);
        public abstract int GetUserIdByName(string username);

        public abstract string UserNamePattern
        {
            get;
        }

        public abstract string UserPassPattern
        {
            get;
        }

        public abstract string UserMailPattern
        {
            get;
        }

        public static UniversalMembershipProvider Instance
        {
            get
            {
                return (UniversalMembershipProvider)System.Web.Security.Membership.Provider;
            }
        }
    }
}
